package com.hzit.controller;

import com.hzit.pojo.R;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Controller
@RequestMapping("/hello")
public class HelloController {

	@RequestMapping("/list")
	public String list(Model model){
		// /WEB-INF/jsp/list.jsp
		String username = "张三";
		model.addAttribute("username",username);
		return "list";
	}
}
